package com.ruoyi.common.utils.http;

import com.ruoyi.common.core.domain.entity.HttpResponseResult;

import java.util.HashMap;
import java.util.Map;

public class FlowOrderDemo {

    public static void main(String[] args) {
        String token = "zcnDQr3u265MzwCu_RoXvn-otax3LkLw.+zM1PSMDTbQIsNfTYgCPi5gXEl5swfP8Sdnp8ALr2Dk";
        String url = "https://profile.starbucks.com.cn/api/Customers/detail";
        Map<String, Object> map = new HashMap<>();
        map.put("Content-Type", "application/x-www-form-urlencoded");
        map.put("Authorization", "Bearer " + token);
        HttpResponseResult result = null;
//        String str = HttpAndHttpsProxy.HttpsProxy(url,null,map);
        HttpResponseResult str = HttpsUtils.proxySendGet(url,null,map);
    }

}
